package Dao_view

import "Sales_system/Dao"

func Getbillview() (error, []billview, int64) {
	var BillView []billview
	var total int64
	err := Dao.Db.Table("billview").Count(&total).Find(&BillView).Error
	return err, BillView, total
}
